import request from '@/router/axios';

export const getList = (page, size, params) => {
  return request({
    url: '/base/goodsCrossApplyForm/crossApplyList',
    method: 'post',
    params: {
      ...params,
      page,
      size,
    }
  })
}
export const getResultList = (page, size, params) => {
  return request({
    url: '/base/goodsCrossApply/list',
    method: 'post',
    params: {
      ...params,
      page,
      size,
    }
  })
}
export const getGoodsSoRangeTree = (data) => {
  return request({
    url: '/base/sellerGoodsCrossApply/getGoodsSoRangeTree',
    method: 'post',
	meta: {
		isSerialize: true,
	},
    data:data
  })
}
export const editGoodsSoRange = (data) => {
  return request({
    url: '/base/goodsManage/editGoodsSoRange',
    method: 'post',
	meta: {
		isSerialize: true,
	},
    data:data
  })
}
export const writeSAPXmlToBPM = (data) => {
  return request({
    url: '/base/goodsCrossApply/writeSAPXmlToBPM',
    method: 'post',
	meta: {
		isSerialize: true,
	},
    data:data
  })
}
export const getBpmOrganization = (data) => {
  return request({
    url: '/base/goodsCrossApply/getBpmOrganization',
    method: 'post',
	meta: {
		isSerialize: true,
	},
    data:data
  })
}